﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.AppService.Dto.RKGLDto;
using TR.Domain.Entity.CKGL;

namespace TR.Domain.Repository.CKGLRepository
{
    public interface Iwh_Outbill_hRepository
    {
        //出库管理表添加
        Task<bool> CKGLInsert(wh_Outbill_h jcxx, List<wh_Outbill_d> ckmx);

        //关联单号分页查询
        Task<List<CKDHGuanlian>> CKGLGuanlian(int mys, int dqy, string? dqsj, string? jssj, CKGLDHTjDto tj);

        //关联单号总条数
        Task<int> Ztshu();

        //根据销售单号查询对应商品
        Task<List<XSDHchaHP>> XSDHChahp(string sale_code, HPTj tj);

        //出库管理主表分页查询
        Task<List<CKGL_SelectZB>> CKGLZBSelect(int mys, int dqy, CKGLZbTjCx tj);

        //出库订单总条数
        Task<int> ZbZts();

        //批量逻辑删除
        Task<bool> CKGLDelete(List<int> isdel);
    }
}
